﻿using MQ.Core.Common;
using MQ.Core.Entity.System;
using System;
using System.Collections.Generic;
using System.Text;

namespace MQ.Core.IRepository.System
{
    public interface IAreaRepository
    {
        void Add(AreaEntity entity);

        void Update(AreaEntity entity);

        void Delete(string ids);
        void Delete(long id);
        void Delete(List<long> ids);
        IEnumerable<AreaEntity> GetList(string query);
        IEnumerable<AreaEntity> GetPageList(Pagination pagination, string query);
    }
}
